package cn.hfjava.kz.mapper;

import cn.hfjava.kz.entity.dto.DocumentQueryDto;
import cn.hfjava.kz.entity.po.Document;
import cn.hfjava.kz.entity.vo.DocumentQueryVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author lds
 * @description 针对表【documents(文档表)】的数据库操作Mapper
 * @createDate 2024-07-23 09:51:13
 * @Entity cn.hfjava.kz.entity.po.Document
 */
public interface DocumentMapper extends BaseMapper<Document> {
    List<DocumentQueryVo> documentVoList(DocumentQueryDto documentQueryDto);
    long getDocumentVoCount(DocumentQueryDto documentQueryDto);


    @Select("select id from documents")
    List<Integer> searchIds();
}




